<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags"%>

<section id="boxInfo" class="rightShadow corner3">
	<img class="corner3" src="${truyen.linkImage}/s280/${truyen.nameImage}" alt="Truyện tình cảm ${truyen.name}" />
	<div class="detailInfo">
		<h4>${truyen.name}</h4>
		<strong>Tác giả: </strong><span>${truyen.tacGia.name}</span><br />
		<strong>Tình trạng: </strong><span>
											<c:choose>
												<c:when test="${truyen.isFinished}">Trọn bộ</c:when>
												<c:otherwise>Đang tiến hành</c:otherwise>
											</c:choose>
									</span><br />
		<strong>Lượt xem: </strong><span>${truyen.views}</span><br />
		<strong>Được thích: </strong><span>${truyen.liked}</span><br />
		<strong>Tóm tắt:</strong>
		<p>
			${truyen.info}
		</p>
		<jsp:include page="/WEB-INF/includes/aLiked.jsp" />
		<jsp:include page="../shareBar.jsp" />
	</div>
</section>